package com.redmaple.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description
 * @Author redMaple-gi
 * @Date 2020/6/19 14:54
 * @Version 1.0
 */
@RestController
@RequestMapping("/api/order")
public class OrderController {

    @GetMapping("/getOrder")
    public String getOrder(){
        System.out.println("This is my first time I've intercepted a request with OAuth2!");
        return "This is my first time I've intercepted a request with OAuth2!";
    }
}